/*
 * SRAM.h
 *
 * Created: 06.09.2012 11:16:25
 *  Author: bardbakk
 */ 

/*!
 * @header		SRAM.h
 * @discussion	This file contains all declarations for the SRAM
*/	

#ifndef SRAM_H_
#define SRAM_H_

#define SRAM_OFFSET 0x1800
#define SRAM_ADR_DISPLAY SRAM_OFFSET //0x1800-0x3800


/*!
 * @function	SRAM_init.
 * @discussion	Enables the microcontroller's external memory and masks the JTAG pins				
 * @result		None.
 */	
void SRAM_init();


/*!
 * @function	SRAM_test
 * @discussion	Runs a SRAM test, testing both writing and reading. Outputs the result on USART. 
 * @result		None.
 */	
void SRAM_test(void);

#endif /* SRAM_H_ */